package com.hyxf.domain.master;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 花宇心坊账号
 * @author 阿紫
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_info")
public class MasterUserInfo {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String phone;

    private String password;

    private String avatar;

    private Integer sex;

    private String realName;

    private String idNumber;

    private Date registerTime;
    /**
     * 是否接受用户协议: 0否，1是
     */
    private Integer acceptUserAgreement;
    /**
     * 是否阿紫添加: 0否，1是
     */
    private Integer isOfficial;

    private Integer status;

    /**
     * 微信OpenId
     */
    private String openid;

    /**
     * 设备号
     */
    private String imei;

    /**
     * 生日
     */
    private Date birthday;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 来源:来源分析
     */
    @TableField("register_source")
    private String registerSource;

    @TableLogic
    private Long isDelete;

}
